package me.dracen

class Test {
    static void main (args){
        def range = 0..5
        println range

        for (i in range) {
            println i
        }

        range.each {
            e ->  println e
        }

        println 'result:' + sum(1,2)

        def f = new File("C:\\Users\\liuzinong\\Desktop\\1.txt")
        println f.length()

        def x = 1
        println x.properties
    }

    static def sum (i,j) {
        i + j;
    }
}